@use 'sass:map';
@use 'sass:meta';

@use 'vexip-ui/style/design/variables' as vars;

$break-point-map: vars.$break-point-map;

@mixin query-media($point) {
  @if map.has-key(vars.$break-point-map, $point) {
    @media screen and #{meta.inspect(map.get(vars.$break-point-map, $point))} {
      @content;
    }
  } @else {
    @content;
  }
}
